home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global IMapTest
- set CurrentButton to the name of member the memberNum of sprite getDoneSpriteNumber(IMapTest)
- set TheirAnswer1 to getMyFirstAnswer(IMapTest)
- set TheirAnswer2 to getMySecondAnswer(IMapTest)
- set CurrentQuestionType to getCurrentType(IMapTest)
- case CurrentQuestionType of
- 5:
- if ((TheirAnswer1 = 0) or (TheirAnswer2 = 0)) and (CurrentButton = "done_button") then
- RollOverStatesTwoChoices(TheirAnswer1, TheirAnswer2, CurrentQuestionType)
- end if
- 3, 4:
- if (CurrentButton = "done_button") and (TheirAnswer1 = 0) then
- RollOverStates(CurrentQuestionType)
- end if
- end case
- end
-
- on exitFrame
- go(the frame)
- end
-